\hypertarget{class_mathematica_translator_1_1_parser}{
\section{\-Mathematica\-Translator\-:\-:\-Parser \-Class \-Reference}
\label{class_mathematica_translator_1_1_parser}\index{\-Mathematica\-Translator\-::\-Parser@{\-Mathematica\-Translator\-::\-Parser}}
}


\-A \-Bison parser.  




{\ttfamily \#include $<$matrix\-\_\-grammar.\-tab.\-hpp$>$}

\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
union \hyperlink{union_mathematica_translator_1_1_parser_1_1semantic__type}{semantic\-\_\-type}
\begin{DoxyCompactList}\small\item\em \-Symbol semantic values. \end{DoxyCompactList}\item 
struct \hyperlink{struct_mathematica_translator_1_1_parser_1_1token}{token}
\begin{DoxyCompactList}\small\item\em \-Tokens. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mathematica_translator_1_1_parser_a5a105c5cd54197df5a22f48b329b73c1}{
typedef \hyperlink{class_mathematica_translator_1_1location}{location} \hyperlink{class_mathematica_translator_1_1_parser_a5a105c5cd54197df5a22f48b329b73c1}{location\-\_\-type}}
\label{class_mathematica_translator_1_1_parser_a5a105c5cd54197df5a22f48b329b73c1}

\begin{DoxyCompactList}\small\item\em \-Symbol locations. \end{DoxyCompactList}\item 
\hypertarget{class_mathematica_translator_1_1_parser_a794d42ba0e674e7850e1d87a186deb3a}{
typedef token\-::yytokentype \hyperlink{class_mathematica_translator_1_1_parser_a794d42ba0e674e7850e1d87a186deb3a}{token\-\_\-type}}
\label{class_mathematica_translator_1_1_parser_a794d42ba0e674e7850e1d87a186deb3a}

\begin{DoxyCompactList}\small\item\em \-Token type. \end{DoxyCompactList}\item 
\hypertarget{class_mathematica_translator_1_1_parser_a5622a6aa400bed773d57227d61dea784}{
typedef int \hyperlink{class_mathematica_translator_1_1_parser_a5622a6aa400bed773d57227d61dea784}{debug\-\_\-level\-\_\-type}}
\label{class_mathematica_translator_1_1_parser_a5622a6aa400bed773d57227d61dea784}

\begin{DoxyCompactList}\small\item\em \-Type for debugging levels. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mathematica_translator_1_1_parser_ae665ac0cefe5d27c09f52c1d801dee2d}{
\hyperlink{class_mathematica_translator_1_1_parser_ae665ac0cefe5d27c09f52c1d801dee2d}{\-Parser} (class \hyperlink{class_mathematica_translator_1_1_m_t_driver}{\-M\-T\-Driver} \&driver\-\_\-yyarg)}
\label{class_mathematica_translator_1_1_parser_ae665ac0cefe5d27c09f52c1d801dee2d}

\begin{DoxyCompactList}\small\item\em \-Build a parser object. \end{DoxyCompactList}\item 
virtual int \hyperlink{class_mathematica_translator_1_1_parser_a7e2789b805551cf73da503d1acfd0144}{parse} ()
\item 
\hypertarget{class_mathematica_translator_1_1_parser_a31b7ab384168a7c534950f619ba76000}{
std\-::ostream \& \hyperlink{class_mathematica_translator_1_1_parser_a31b7ab384168a7c534950f619ba76000}{debug\-\_\-stream} () const }
\label{class_mathematica_translator_1_1_parser_a31b7ab384168a7c534950f619ba76000}

\begin{DoxyCompactList}\small\item\em \-The current debugging stream. \end{DoxyCompactList}\item 
\hypertarget{class_mathematica_translator_1_1_parser_aa51d41f565e01243e7ae24d66a6a2945}{
void \hyperlink{class_mathematica_translator_1_1_parser_aa51d41f565e01243e7ae24d66a6a2945}{set\-\_\-debug\-\_\-stream} (std\-::ostream \&)}
\label{class_mathematica_translator_1_1_parser_aa51d41f565e01243e7ae24d66a6a2945}

\begin{DoxyCompactList}\small\item\em \-Set the current debugging stream. \end{DoxyCompactList}\item 
\hypertarget{class_mathematica_translator_1_1_parser_abb4c329d9ff09e100ff283b5e01164f6}{
\hyperlink{class_mathematica_translator_1_1_parser_a5622a6aa400bed773d57227d61dea784}{debug\-\_\-level\-\_\-type} \hyperlink{class_mathematica_translator_1_1_parser_abb4c329d9ff09e100ff283b5e01164f6}{debug\-\_\-level} () const }
\label{class_mathematica_translator_1_1_parser_abb4c329d9ff09e100ff283b5e01164f6}

\begin{DoxyCompactList}\small\item\em \-The current debugging level. \end{DoxyCompactList}\item 
\hypertarget{class_mathematica_translator_1_1_parser_a0706f0c2292ad2b949a4ad935e2385b7}{
void \hyperlink{class_mathematica_translator_1_1_parser_a0706f0c2292ad2b949a4ad935e2385b7}{set\-\_\-debug\-\_\-level} (\hyperlink{class_mathematica_translator_1_1_parser_a5622a6aa400bed773d57227d61dea784}{debug\-\_\-level\-\_\-type} l)}
\label{class_mathematica_translator_1_1_parser_a0706f0c2292ad2b949a4ad935e2385b7}

\begin{DoxyCompactList}\small\item\em \-Set the current debugging level. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-A \-Bison parser. 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_mathematica_translator_1_1_parser_a7e2789b805551cf73da503d1acfd0144}{
\index{\-Mathematica\-Translator\-::\-Parser@{\-Mathematica\-Translator\-::\-Parser}!parse@{parse}}
\index{parse@{parse}!MathematicaTranslator::Parser@{\-Mathematica\-Translator\-::\-Parser}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int \-Mathematica\-Translator\-::\-Parser\-::parse (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_mathematica_translator_1_1_parser_a7e2789b805551cf73da503d1acfd0144}
\-Parse. \begin{DoxyReturn}{\-Returns}
0 iff parsing succeeded. 
\end{DoxyReturn}
\-Lookahead and lookahead in internal form.

\-Semantic value of the lookahead.

\-Location of the lookahead.

\-The locations where the error started and ended.

\$\$.

\$. 

\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
matrix\-\_\-grammar.\-tab.\-hpp\item 
matrix\-\_\-grammar.\-tab.\-cpp\end{DoxyCompactItemize}
